package saucaca.Object;

import saucaca.Util.TagName;

public class MenuObject {
	private String TAG = "MenuObject";
	private String TXNAME;
	private String MENU_CODE;
	private String SUBMENU_TYPE;
	private String PARENT_CODE;
	private String KEY_CATE;
	private String AVATAR;
	private String RN;

	public void setName(String txname) {
		TXNAME = txname;
	}

	public void setMenuCode(String menucode) {
		MENU_CODE = menucode;
	}

	public void setSubMenuType(String submenu_type) {
		SUBMENU_TYPE = submenu_type;
	}

	public void setParentCode(String parent_code) {
		PARENT_CODE = parent_code;
	}

	public void setKeycate(String key_cate) {
		KEY_CATE = key_cate;
	}

	public void setAvatar(String AvartarUrl) {
		AVATAR = AvartarUrl;
	}

	public void setRn(String rn) {
		RN = rn;
	}

	public String getName() {
		return TXNAME;
	}

	public String getMenuCode() {
		return MENU_CODE;
	}

	public String getSubMenuType() {
		return SUBMENU_TYPE;
	}

	public String getParentCode() {
		return PARENT_CODE;
	}

	public String getKeycate() {
		return KEY_CATE;
	}

	public String getAvatar() {
		return AVATAR;
	}

	public String getRn() {
		return RN;
	}

	public void showMenuinfo() {
		TagName.showLogError(TAG, "TXNAME:_" + getName()+"_");
		TagName.showLogError(TAG, "MENU_CODE:" + getMenuCode());
		TagName.showLogError(TAG, "SUBMENU_TYPE: " + getSubMenuType());
		TagName.showLogError(TAG, "PARENT_CODE: " + getParentCode());
		TagName.showLogError(TAG, "KEY_CATE: " + getKeycate());
		TagName.showLogError(TAG, "AVATAR: " + getAvatar());
		TagName.showLogError(TAG, "RN: " + getRn());
	}

}
